"""
GameMove.py

Author: Miles Malerba
Date: 9-20-08

$Id: GameMove.py 324 2008-10-17 02:18:09Z malerba89 $
"""

class GameMove(object):
    """abstract class - do not instanciate.
       represents a move made by one of the players
    """
    
    def __init__(self):
        """constructor."""
        self.pieces = []
    
    def to_string(self):
        """return a string representation of this move"""
        raise NotImplementedError('method not implemented')

    def get_player(self):
        """return the player that made this move"""
        raise NotImplementedError('method not implemented')

    def get_pieces(self):
        """returns the list of pieces"""
        return self.pieces
